package com.spc.demo.executors;

import com.spc.demo.entiity.BaseIn;
import com.spc.demo.entiity.BaseOut;

public abstract class Executor {
    public BaseOut execute(BaseIn in){
        // before
        return doExecute(in);
        // after
    }

    protected abstract BaseOut doExecute(BaseIn in);
}
